package com.gdl.yygh.user.utils;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;

public class ConstantPropertiesUtils implements InitializingBean {

    @Value("${properties中的key}")
    private String somekey;

    public static String SOME_KEY;
    @Override
    public void afterPropertiesSet() throws Exception {
        SOME_KEY=somekey;
    }
}
